package dao;

import java.util.HashMap;
import java.util.List;

import model.Task;

import org.springframework.stereotype.Repository;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

@Repository
public interface TaskDao {
	public void save(Task task);

	public void update(Task task);

	public List<HashMap<String, Object>> queryPage(PageBounds pageBounds,
			HashMap<String, Object> queryMap);

	public List<HashMap<String, Object>> queryPage4Demo(PageBounds pageBounds,
			HashMap<String, Object> queryMap);

	public void delete(Integer id);

	public void read(HashMap<String, Object> map);

	public void submit(HashMap<String, Object> map);

	public void feedback(HashMap<String, Object> map);

	public HashMap<String, Object> getById(Integer id);
}
